<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page import="no.gnet.s10.types.GenericType"%>
    <%@page import="no.gnet.util.Constants"%>
<%@page import="no.gnet.s10.types.Training"%>
<jsp:useBean id="list" class="no.gnet.s10.types.GenericTransferBean" scope="session">
    </jsp:useBean>
    

<%@page import="no.gnet.s10.types.Booking"%>


<jsp:include flush="true" page="includes/top.jsp"></jsp:include>
		<table>
		<tr>
		<td>
		<b>Velg en trening fra listen
		</b></td>
		<td>

                    
<%
GenericType[] beanset = list.getBeans();
%>
    <form action="control" method="POST">
<input type="hidden" name="cmd" value="<%=Constants.CMD_SET_APPEARANCES_FOR_TRAINING%>">
<select name="tid" onChange="this.form.submit();">
<%for(int i=0;i<beanset.length;i++){ %>
<%
Training training = (Training)beanset[i];
%>

<option value="<%=training.getId()%>"><%=training.getDato()%></option>
<%} %>
    </select>       
      </form>     
 </td></tr></table>

<jsp:include flush="true" page="includes/bottom.inc"></jsp:include>    